package com.ssm.pojo;

public class House {
    private Integer id;
    private String name;
    private String amount;
    private Double price;
    private String floorId;
    private String state;
    private Integer customerId;

    public House() {
    }

    public House(Integer id, String name, String amount, Double price, String floorId, String state, Integer customerId) {
        this.id = id;
        this.name = name;
        this.amount = amount;
        this.price = price;
        this.floorId = floorId;
        this.state = state;
        this.customerId = customerId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getFloorId() {
        return floorId;
    }

    public void setFloorId(String floorId) {
        this.floorId = floorId;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    @Override
    public String toString() {
        return "House{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", amount='" + amount + '\'' +
                ", price=" + price +
                ", floorId='" + floorId + '\'' +
                ", state='" + state + '\'' +
                ", customerId=" + customerId +
                '}';
    }
}
